// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vuex from 'vuex'
import Vue from 'vue'
import App from './App'
import router from './router'
import Vant from 'vant'
import './config/rem'

import $ from 'jquery'
import 'jquery'
import VueResource from 'vue-resource'
import VueRouter from 'vue-router'
import { Lazyload } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { NavBar } from 'vant';
import { Area } from 'vant';
import { List } from 'vant';
import { Toast } from 'vant';
import { Field } from 'vant';
import { SwipeCell } from 'vant';
import { Picker } from 'vant';
import { DatetimePicker } from 'vant';

Vue.use(DatetimePicker);
Vue.use(Picker);
Vue.use(SwipeCell);

Vue.use(Field);
Vue.use(Toast);
Vue.use(List);

Vue.use(Area);
Vue.use(NavBar);
Vue.use(Swipe).use(SwipeItem)
Vue.use(Lazyload)
Vue.use(Vant)
Vue.use(VueResource)
Vue.use(Vuex)
Vue.use(VueRouter)



Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>'
})